package com.r2coding.server;

import com.r2coding.core.constants.Constants;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 98k灬
 * @version v1.0.0
 * @Description : 启动类
 * @Create on : 2023/9/15 13:26
 **/
@ServletComponentScan(basePackages = Constants.BASE_COMPONENT_SCAN_PATH)
@SpringBootApplication
@ComponentScan(basePackages = Constants.BASE_COMPONENT_SCAN_PATH)
public class ServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServerApplication.class, args);
    }
}
